<?php


class Database extends MySQLDatabase
{
	protected function getDatabaseName()
	{
		return "pm";
	}

	protected function getUserName()
	{
		return "root";
	}

	protected function getPassword()
	{
		return "";
	}

	protected function getSiteTitle()
	{
		return "project";
	}
	
	protected function reportError ($ErrorText="", $SQL="")
	{
		if ($_SERVER["HTTP_HOST"]=="project") {
			print "$ErrorText IN $SQL";
		}
		else {
			parent::reportError($ErrorText, $SQL);
		}
	}
}

?>
